package com.common.model;

import java.util.*;

import org.apache.commons.lang.builder.ToStringBuilder;

public class Pagination {

	// 页面长度
	private int pageSize = 0;
	// 结果集的条数
	private int rsCount = 0;
	// 页面数
	private int pageCount = 0;
	// 页码
	private int page = 0;
	// 页面对象链表
	private List<Map<String, Object>> list = null;

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public int getRsCount() {
		return rsCount;
	}

	public void setRsCount(int rsCount) {
		this.rsCount = rsCount;
	}

	public int getPageCount() {
		return pageCount;
	}

	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public List<Map<String, Object>> getList() {
		return list;
	}

	public void setList(List<Map<String, Object>> list) {
		this.list = list;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}
